package threaddemo;

public class Demo2 {
    public static void main(String[] args) {
        MyRunnable mr1 = new MyRunnable();
        Thread t = new Thread(mr1);
        t.start();

        MyRunnable mr2 = new MyRunnable();
        Thread t1= new Thread(mr2);
        t1.start();
    }
}
